Fixes #132929.
authorNot Zed <NotZed@Ximian.com>
Fri, 30 Jan 2004 18:37:46 +0000 (18:37 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Fri, 30 Jan 2004 18:37:46 +0000 (18:37 +0000)
2004-01-30  Not Zed  <NotZed@Ximian.com>

Fixes #132929.

* gtk/gtktreeview.c (cancel_arrow_animation): remove the timeout
handler when we clear the timeout id.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktreeview.c

index d7df7e09e3f4b8cff6dab26ad0c4774f18e0c743..6157bd99d61745785185a16d06ab3e4475b5592e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-01-30  Not Zed  <NotZed@Ximian.com>
+
+       Fixes #132929.
+
+       * gtk/gtktreeview.c (cancel_arrow_animation): remove the timeout
+       handler when we clear the timeout id.
+
 2004-01-30  Federico Mena Quintero  <federico@ximian.com>
 
        Fix #129872, based on a patch by Jan Arne Petersen
index d7df7e09e3f4b8cff6dab26ad0c4774f18e0c743..6157bd99d61745785185a16d06ab3e4475b5592e 100644 (file)
@@ -1,3 +1,10 @@
+2004-01-30  Not Zed  <NotZed@Ximian.com>
+
+       Fixes #132929.
+
+       * gtk/gtktreeview.c (cancel_arrow_animation): remove the timeout
+       handler when we clear the timeout id.
+
 2004-01-30  Federico Mena Quintero  <federico@ximian.com>
 
        Fix #129872, based on a patch by Jan Arne Petersen
index d7df7e09e3f4b8cff6dab26ad0c4774f18e0c743..6157bd99d61745785185a16d06ab3e4475b5592e 100644 (file)
@@ -1,3 +1,10 @@
+2004-01-30  Not Zed  <NotZed@Ximian.com>
+
+       Fixes #132929.
+
+       * gtk/gtktreeview.c (cancel_arrow_animation): remove the timeout
+       handler when we clear the timeout id.
+
 2004-01-30  Federico Mena Quintero  <federico@ximian.com>
 
        Fix #129872, based on a patch by Jan Arne Petersen
index d7df7e09e3f4b8cff6dab26ad0c4774f18e0c743..6157bd99d61745785185a16d06ab3e4475b5592e 100644 (file)
@@ -1,3 +1,10 @@
+2004-01-30  Not Zed  <NotZed@Ximian.com>
+
+       Fixes #132929.
+
+       * gtk/gtktreeview.c (cancel_arrow_animation): remove the timeout
+       handler when we clear the timeout id.
+
 2004-01-30  Federico Mena Quintero  <federico@ximian.com>
 
        Fix #129872, based on a patch by Jan Arne Petersen
index d7df7e09e3f4b8cff6dab26ad0c4774f18e0c743..6157bd99d61745785185a16d06ab3e4475b5592e 100644 (file)
@@ -1,3 +1,10 @@
+2004-01-30  Not Zed  <NotZed@Ximian.com>
+
+       Fixes #132929.
+
+       * gtk/gtktreeview.c (cancel_arrow_animation): remove the timeout
+       handler when we clear the timeout id.
+
 2004-01-30  Federico Mena Quintero  <federico@ximian.com>
 
        Fix #129872, based on a patch by Jan Arne Petersen
index 271fc41b95a11b61c32851f5ec74d9ea31685e85..75b42f6bbd7a3c32569ce9bd3abe39ceb08d4f54 100644 (file)
@@ -6891,8 +6891,12 @@ static void
 cancel_arrow_animation (GtkTreeView *tree_view)
 {
   if (tree_view->priv->expand_collapse_timeout)
-    while (do_expand_collapse (tree_view));
-  tree_view->priv->expand_collapse_timeout = 0;
+    {
+      while (do_expand_collapse (tree_view));
+
+      g_source_remove (tree_view->priv->expand_collapse_timeout);
+      tree_view->priv->expand_collapse_timeout = 0;
+    }
 }
 
 static void